<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('新增技术支持')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-statisticsSupport-add">
			<label class="col-sm-3 control-label">用户单位：</label>
			<div class="col-sm-8">
				<select name="unitid" class="form-control m-b">
					<option  th:value="1">大庆油田</option><option  th:value="2">辽河油田</option>
					<option  th:value="3">长庆油田</option><option  th:value="4">塔里木油田</option>
					<option  th:value="5">新疆油田</option><option  th:value="6">西南油气田</option>
					<option  th:value="7">吉林油田</option><option  th:value="8">大港油田</option>
					<option  th:value="9">青海油田</option><option  th:value="10">华北油田</option>
					<option  th:value="11">吐哈油田</option><option  th:value="12">冀东油田</option>
					<option  th:value="13">玉门油田</option><option  th:value="14">浙江油田</option>
					<option  th:value="15">煤层气</option><option  th:value="16">南方公司</option>
					<option  th:value="17">勘探开发院</option><option th:value="18">勘探院西北分院</option>
					<option  th:value="19">杭州地质研究院</option>
				</select>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">起止时间：</label>
				<div class="col-sm-8">
					<input type="text" class="time-input" id="explainstarttime" placeholder="起始时间" name="explainstarttime"/>
					<span>-</span>
					<input type="text" class="time-input" id="explainendtime" placeholder="结束时间" name="explainendtime"/>
				</div>
			</div>

			<div class="form-group">	
				<label class="col-sm-3 control-label">支持(人/天)：</label>
				<div class="col-sm-8">
					<input id="explainday" name="explainday" class="form-control" type="text">
				</div>
			</div>

			<div class="form-group">
				<label class="col-sm-3 control-label">支持人员：</label>
				<div class="col-sm-8">
					<input id="explainpeople" name="explainpeople" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">类别：</label>
				<div class="col-sm-8">
					<select name="type" class="form-control m-b">
						<option  th:value="处理">处理</option><option  th:value="解释">解释</option>
					</select>
				</div>
			</div>

			<div class="form-group">
				<label class="col-sm-3 control-label">支持状态：</label>
				<div class="col-sm-8">
					<select name="explainstatus" class="form-control m-b">
						<option  th:value="完成">完成</option><option  th:value="进行中">进行中</option>
					</select>
				</div>
			</div>

		</form>
	</div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "statistics/statisticsSupport"
		$("#form-statisticsSupport-add").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			focusCleanup: true
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/add", $('#form-statisticsSupport-add').serialize());
	        }
	    }
	</script>
</body>
</html>
